package com.mall.project.gs.model.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;

import com.mall.common.core.model.supers.Convert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 订单物流表
 * </p>
 *
 * @author Sam
 * @since 2021-10-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("gs_order_logistics")
@ApiModel(value = "OrderLogistics对象", description = "订单物流表")
public class OrderLogistics extends Convert {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "PK")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "逻辑删除标记（0：显示；1：隐藏）")
    private Integer delFlag;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty(value = "最后更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "邮编")
    private String postalCode;

    @ApiModelProperty(value = "收货人名字")
    private String userName;

    @ApiModelProperty(value = "电话号码")
    private String telNum;

    @ApiModelProperty(value = "详细地址")
    private String address;

    @ApiModelProperty(value = "物流商家")
    private String logistics;

    @ApiModelProperty(value = "物流单号")
    private String logisticsNo;

    @ApiModelProperty(value = "快递单当前状态，包括-1错误，0在途，1揽收，2疑难，3签收，4退签，5派件，6退回，7转投 等7个状态")
    private String status;

    @ApiModelProperty(value = "签收标记（0：未签收；1：已签收）")
    private String isCheck;

    @ApiModelProperty(value = "相关信息")
    private String message;


}
